<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>springboot</title>
</head>
<body>
<table>
    <thead>
    <tr>
        <th>id</th>
        <th>name</th>
        <th>sex</th>
        <th>idCard</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="member :${members}">
        <td th:text="${member.id}"></td>
        <td th:text="${member.name}"></td>
        <td th:text="${member.sex}"></td>
        <td th:text="${member.idCard}"></td>
    </tr>
    </tbody>
</table>
</body>
</html>